Managed Connections to Databases, and query result helper classes
This module supplies ManagedConnection classes for a variety of
Python database interfaces, including both SQL and LDAP. Managed
Connections automatically handle various matters relating to staying
open (automatic close/re-open on errors) and participating in
transactions.
Currently, managed connections use the ZPublisher get_transaction()
convention for accessing the transaction, and should probably be
updated to work with the TransactionManager Service. This needs
some careful work, though, not to impose read-write transaction
requirements for database connections which are in transactions by
default. :(
Oh, and by the way, I haven't done anything useful with this module
in a few months... it may not work at all right now. :(
|